<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>首页</title>
<script type="text/javascript"src="static/jquery-easyui-1.5.5.3/jquery.min.js"></script>
<link rel="stylesheet" href="static/bootstrap-3.3.7/css/bootstrap.css">
<link rel="stylesheet"href="static/bootstrap-3.3.7/css/bootstrap-theme.css">
<link rel="shortcut icon" href="static/img/z_login1.jpg"type="image/x-icon">
<link rel="stylesheet"href="static/jquery-easyui-1.5.5.3/themes/default/easyui.css" />
<link rel="stylesheet"href="static/jquery-easyui-1.5.5.3/themes/icon.css" />
<script type="text/javascript"src="static/bootstrap-3.3.7/js/bootstrap.js"></script>
<script type="text/javascript"src="static/jquery-easyui-1.5.5.3/jquery.easyui.min.js"></script>
<script type="text/javascript"src="static/jquery-easyui-1.5.5.3/locale/easyui-lang-zh_CN.js"></script>
<style type="text/css">
.ah {
	color: black;
	width: 100%;
	float: left;
	font-size: 14px;
	padding-top: 5px;
	padding-bottom: 5px;
	padding-left: 20px;
	border: 1px solid #cdcdcd;
	border-top: none;
	border-right: none;
	border-left: none;
}

.ah:hover {
	color: white;
	text-decoration: none;
	cursor: pointer;
	background-color: #cdcdcd;
}
</style>
<script type="text/javascript">
$(function(){
	//实现tabs关闭时刷新题目表格
	$("#tt").tabs({
	    onBeforeClose: function () {
	    	 window.top.reload_Abnormal_Monitor.call();
	    }
	});
	
	 $('.ah').click(function(){
		var src=$(this).attr('title');//获取路径
		var title=$(this).html();//取标签的文本值
		if($('#tt').tabs('exists',title)){
			$('#tt').tabs('select',title);//如果有就取当前的tabs
		}else{  //否则新增一个tabs
		 	$('#tt').tabs('add',{    
		    title:title,    
		    content:'<iframe frameborder=0 style="width:100%;height:98% " src='+src+'></iframe>',    
		    closable:true
		}); 
		}
	}); 
}); 
</script>
</head>
<body>

	<div id="cc" class="easyui-layout" fit=true>
		<div id="header" data-options="region:'north'"style="height: 80px; background-color: #FBFBFB"></div>
		<div data-options="region:'west',iconCls:'icon-more', title:'操作菜单'" style="width: 15%; background: #FAFAFA;">
			<div id="aa" class="easyui-accordion" fit=true>
				<div title="系统设置" data-options="iconCls:'icon-man'"sec:authorize="hasRole('ROLE_ADMIN')">
					<div>
						<a class="ah" title="permission/manage"><b> 权限管理</b></a> 
						<a class="ah" title="role/manage"><b> 角色管理</b></a> 
						<a class="ah" title="menu/manage"><b> 菜单管理</b></a> 
						<a class="ah" title=""><b> 用户管理</b></a>
					</div>
				</div>

			</div>
		</div>
		<div id="tabContainer" data-options="region:'center',"style="background: #FAFAFA;">
			<div id="tt" class="easyui-tabs" fit=true style="width: 500px; height: auto; border: none;">
				<div title="欢迎页面"style="display: none; overflow: auto; border: none;">
					<h1>我是歡迎頁面</h1>
				</div>
			</div>
		</div>

	</div>
</body>
</html>